# Copyright 2020 Huawei Technologies Co., Ltd## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.# ============================================================================from .backbones import (C3D, X3D, MobileNetV2, MobileNetV2TSM, ResNet,
                        ResNet2Plus1d, ResNet3d, ResNet3dCSN, ResNet3dLayer,
                        ResNet3dSlowFast, ResNet3dSlowOnly, ResNetAudio,
                        ResNetTIN, ResNetTSM, TANet, TimeSformer)
from .builder import (BACKBONES, DETECTORS, HEADS, LOCALIZERS, LOSSES, NECKS,
                      RECOGNIZERS, build_backbone, build_detector, build_head,
                      build_localizer, build_loss, build_model, build_neck,
                      build_recognizer)
from .common import (LFB, TAM, Conv2plus1d, ConvAudio,
                     DividedSpatialAttentionWithNorm,
                     DividedTemporalAttentionWithNorm, FFNWithNorm)
from .heads import (ACRNHead, AudioTSNHead, AVARoIHead, BaseHead, BBoxHeadAVA,
                    FBOHead, I3DHead, LFBInferHead, SlowFastHead,
                    TimeSformerHead, TPNHead, TRNHead, TSMHead, TSNHead,
                    X3DHead)
from .localizers import BMN, PEM, TEM
from .losses import (BCELossWithLogits, BinaryLogisticRegressionLoss, BMNLoss,
                     CrossEntropyLoss, HVULoss, NLLLoss, OHEMHingeLoss,
                     SSNLoss)
from .necks import TPN
from .recognizers import (AudioRecognizer, BaseRecognizer, Recognizer2D,
                          Recognizer3D)
from .roi_extractors import SingleRoIExtractor3D

__all__ = [
    'BACKBONES', 'HEADS', 'RECOGNIZERS', 'build_recognizer', 'build_head',
    'build_backbone', 'Recognizer2D', 'Recognizer3D', 'C3D', 'ResNet',
    'ResNet3d', 'ResNet2Plus1d', 'I3DHead', 'TSNHead', 'TSMHead', 'BaseHead',
    'BaseRecognizer', 'LOSSES', 'CrossEntropyLoss', 'NLLLoss', 'HVULoss',
    'ResNetTSM', 'ResNet3dSlowFast', 'SlowFastHead', 'Conv2plus1d',
    'ResNet3dSlowOnly', 'BCELossWithLogits', 'LOCALIZERS', 'build_localizer',
    'PEM', 'TAM', 'TEM', 'BinaryLogisticRegressionLoss', 'BMN', 'BMNLoss',
    'build_model', 'OHEMHingeLoss', 'SSNLoss', 'ResNet3dCSN', 'ResNetTIN',
    'TPN', 'TPNHead', 'build_loss', 'build_neck', 'AudioRecognizer',
    'AudioTSNHead', 'X3D', 'X3DHead', 'ResNet3dLayer', 'DETECTORS',
    'SingleRoIExtractor3D', 'BBoxHeadAVA', 'ResNetAudio', 'build_detector',
    'ConvAudio', 'AVARoIHead', 'MobileNetV2', 'MobileNetV2TSM', 'TANet', 'LFB',
    'FBOHead', 'LFBInferHead', 'TRNHead', 'NECKS', 'TimeSformer',
    'TimeSformerHead', 'DividedSpatialAttentionWithNorm',
    'DividedTemporalAttentionWithNorm', 'FFNWithNorm', 'ACRNHead'
]
